package com.jic.market.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * 店铺商品SKU表
 * @author : 
 * @email : 
 * @since : 2020-03-19 03:15:19
 * @version : v1.0.0
 */
@Getter
@Setter
public class GoodsSku implements Serializable {
    private static final long serialVersionUID = 1L;

    //id
    private Long id;
//商品spu_id
    private String goodsSpuId;
    //第三方商品SKU
    private String thirdSkuId;
    //商品名称
    private String goodsName;
    //商品类目
    private String goodsCategory;
    //计量单位
    private String measureUnit;
    //价格
    private BigDecimal salePrice;
    //库存
    private Integer stock;
    //货品规格,必须按JSON格式存入
    private String goodsAttributes;
    //商品状态，上架，下架
    private Integer goodsStatus;
    //子平台id
    private Long childId;
    //商家id
    private Long merchantId;
    //店铺id
    private Long storeId;
    //是否可用:默认0否;1是
    private Boolean deleteFlag;
    //创建时间
    private Date createTime;
    //创建人
    private Long creator;
    //创建人姓名
    private String creatorName;
    //更新时间
    private Date updateTime;
    //更新人
    private Long updator;
    //更新人姓名
    private String updatorName;
    
}